//package com.alon.spring01.common.dataSource;
//
//import org.mybatis.spring.boot.autoconfigure.ConfigurationCustomizer;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
///**
// * @program: spring01
// * @description: mybtais 配置
// * @author: yulongguang
// * @create: 2019-07-17 11:54
// **/
//@Configuration
//public class MybatisConfig {
//    @Bean
//    ConfigurationCustomizer mybatisConfigurationCustomizer() {
//        return new ConfigurationCustomizer() {
//            @Override
//            public void customize(org.apache.ibatis.session.Configuration configuration) {
//                configuration.addInterceptor(new DynamicPlugin());
//            }
//        };
//    }
//}
